package com.mes.cloud.api.dto.request.employee;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * @Author: 郑样平
 * @Description:
 * @Date: 2019/8/10 9:05
 */
@Data
public class BaseEmployeeStatusRequest {
    /**
     *  员工id 数据
     */
    @ApiModelProperty(value = "员工ids", required = true)
    @NotEmpty(message =  "员工ids")
    private Set<String> ids;
    /**
     *   员工离职状态（0-离职，1在职）
     */
    @ApiModelProperty(value = "员工离职状态（0-离职，1在职）", required = true)
    @NotEmpty(message =  " 员工离职状态（0-离职，1在职）")
    private  String status;

    @ApiModelProperty(value = "修改时间", required = false)
    private  String updateDateStr;

    @ApiModelProperty(value = "修改人", required = false)
    private  String updateBy;

    @ApiModelProperty(value = "创建人工号", required = false)
    private String createByNo;

    @ApiModelProperty(value = "修改人工号", required = false)
    private String updateByNo;
}
